Fixed windows related bug around URL path normalization

On a windows box, os.path uses windows path separators, which does not
match URL path separators. The class posixpath is OS agnostic.
Merge pull request #2 from ribbles/master

Fixed windows related bug around URL path normalization