Merge back persistent dict via shelve