bug(file-path): fix write path

Changes the writeFile tmp path to the correct placement.