Merge "libsnapshot: Fix CowWriter::Finalize() not restoring footer correctly."