Added safer path handling for Windows
Merge pull request #159 from LaurentGoderre/add-safer-path-handling

Added safer path handling for Windows