rewrite

Stores snapshot, rebuilt from the log, in place of the stored one, as a snapshot store's rewrite does: unless a higher version is stored; returns whether it was.