Fix build on Windows

When obtaining the file separator character on Windows this causes a
PatternSyntaxException because a single backslash (\) is not a valid
pattern character
Merge pull request #197 from markhop/fix_windows_build

Fix build on Windows, path separators