Fix game saving/loading under Windows

Also incidentally fixes loading the light table which never used to
work.