fix paths <-> urls on windows