Fix support in Path for Windows-style path separators
Hopefully fix mkdirp issue
Added a test for mkdirp