Fix error conditions with file spaces
When the LaTeX command fails, the UseLATEX wrapper is supposed to delete the generated file and print out the log. This was not working for files with spaces in it.
Fixes #7 (closed).
Edited by Kenneth Moreland