refactor temporary file cleanup and make it more consistent
#23271 (moved) is an example of a temporary file that doesn't properly get cleaned up. We should consider refactoring the creation and destruction of temporary files so they get cleaned up consistently.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information