zip: make writeCentralDirectoryZip64 and writeDataDescriptor more testable.