Converts path to a URI.
path
Uri toUri(String path) { path = convertPath(path); return resourceProvider.pathContext.toUri(path); }