(DataStore) Add method to change persistence option.

We might want to change the way we persist writes depending on the situation. Or maybe we don't, in which case, it will be a Config option passed to the DataStore.