Remove unnecessary temporary files.