Convert backslashes in Windows paths to forward slashes - otherwise StreamTokenizer interprets the backslashes as escape chars, and "work.dir" can't be found.