TST: win32 paths cannot be turned into URLs by prefixing them with "file://" v2

Rebased on master (unable to use same pull request). Closes #4580.

see http://stackoverflow.com/questions/11687478/convert-a-filename-to-a-file-url