Factor load() and dump() methods of Store out into a separate object.