Change tmp file path name to 'temp'.