Cleaning up tmp files.