Remove directory from temp files.