Convert absolute file paths to URLs on windows properly