Change use_temporary_dir behavior with latexmk

When using latexmk, use -jobname instead of moving
to a temporary dir. Works properly with auxiliary
\input files.