pub fn path_to_uri(path: &Path) -> Result<Uri>
Convert a filesystem path to an LSP file:// URI.
file://
Returns an error if the path is not absolute or not valid UTF-8.