A simple fix is to add these two lines of code to book_latex.py just before the temporary file is created, just after line 205:
if(sys.platform == 'win32'):
tempfile.tempdir = 'C:/Temp'
If lilypond-book.py is running on a Windows platform, create the
temporary file in C:/Temp. Then we don't have to worry about the
length of the user_id and this getting mangled with a '~'.
Dan
