Make ResourcePool.flushDataStore use String nativeName to lookup FeatureSource and avoid NPE.