Fix parsing of windows path separators.