Correct path to tmp file.