Fix file path handling on Windows.
Merge pull request #515 from addie9000/fix_file_separator_problem_in_windows

Fix file path handling on Windows.