zipwriter offsets/datatypes fix