Fixed path separators on windows

os.path uses the local OS directory separator ('\\'), while posixpath always uses '/'. For web URLs we of course always want '/'.