Corrected problem with orphaned temp files.