Improvements for temporary files.