Enable running on Windows

Try to setupDirectories using "file:///" protocol when "file://" fails on windows system due to missing authoritative component of the URI.
ins't there a more general / elegant way to do this in java? have you had a look on alternatives, maybe `file:///` works on unix systems too. it's not  a very big deal, but i guess there is a nicer solution than catching exceptions twice...