Write the input image in local directory.

To make easier for Dexy to grab the file and pass it to LaTeX.