[StorageProvider] Fix write to internal storage methods