lib, url: allow `options` for URL parsing in `fileURLtoPath` and `pathToFileURL`
This PR changes the fileURLtoPath
/ pathToFileURL
functions to contain an options
argument. Within the options
argument, a user can set windows
to true/false/undefined
, which either parse the path/url as a Windows path, a Unix path, or the system default (respectively).
Fixes #51609 (closed)