Fix beahviour in Windows

Hi,

I've made 2 small changes to make it work in Widnows.

using "os.path.normpath" on a url, messes up / and \

Andrea