Bucket.Flush() will write dirty data to storage.

It uses the brand new bucketstore.apply() method.
TestSaveLoadEmptyBucket.
TestSaveLoadBasic.