Fixed broken url generation on Windows

Hey @jenius, here's the change. I am unsure if it is ready to be merged - please have a look at the file in sublime text and tell me if your syntax highlighting is also a little messed up? (don't worry about the text being expanded to 2 lines, thats just the way my ST is set up to wrap lines longer than 80 chars):

![syntaxhighlighting](http://puu.sh/51VAh.png)