Fixes a crash when sharing files from third party apps like FileKicker which pass filepath uris instead of android provider uris.