pub fn file_uri_to_path(uri: &str) -> Result<PathBuf, String>
Resolve a file:// URI to a path (not necessarily canonical).
file://