getProviderForURI() updated

Helps to resolve issues when switching between core & cadet
fileSystemProviders