Improve file URL path handling on Windows/DOS