Small fix to make sure all temp files deleted.