test: fix "file:" URI tests on Windows