changing dir handling for windows
Merge pull request #19 from thebeekeeper/master

Fix dir handling for windows