Enable running on Windows

Try to setupDirectories using "file:///" protocol when "file://" fails on windows system due to missing authoritative component of the URI.
Merge pull request #100 from TheRealPanPan/patch-2

Enable running on Windows