lib: add UNC support to url.pathToFileURL()
Fixes: https://github.com/nodejs/node/issues/34736
Checklist
-
make -j4 test
(UNIX) passes -
vcbuild test
(Windows) passes -
tests are included -
commit message follows commit guidelines -
certified Developer's Certificate of Origin 1.1