Log the input TeX file as well as the LaTeX compiler output.

For debugging, this saves the most recent .tex file as well as the .log file that's already saved.