Returns uri as a String.
uri
String fromUri(Uri uri) { return resourceProvider.pathContext.fromUri(uri); }