recursively create all parent directories if they do not exist on Windows
Merge pull request #82 from NPU/master

recursively create all parent directories if they do not exist on Windows