Use temporary file with absolute path.