Fix spaces in paths and pathseps in file names
Merge pull request #1 from adamedx/windows-compat

For Windows -- fix spaces in paths and pathseps in file names