Fix an issue where we add extra bytes to the log zip.