Construct proper URIs for paths when run on WSL in tests (#57061)
https://github.com/JuliaLang/julia/pull/55454 produces the correct URIs
when run on WSL, but the tests don't use the same logic and so they fail
on WSL at the moment. This fixes the tests on WSL.
CC @tecosaur