Fix a bug in WaterfallBackend snapshots causing only fraction of the data being written.