Mark every temporary file for delete-on-exit

Fix for https://jira.duraspace.org/browse/FCREPO-1233