fixed malformed URIs under windows (issue #3)