Fixed conversion to latex on Windows platforms so that filenames are entered into LaTeX correctly (using forward slash, not backslash as os.path.join provides.).