'Return the uncompressed stream file position indicator to the
beginning of the file'

def rewind(self):

    if (self.mode != READ):
        raise OSError("Can't    rewind    in    write    mode")
    self.fileobj.seek(0)
    self._new_member = True
    self.extrabuf = ''
    self.extrasize = 0
    self.extrastart = 0
    self.offset = 0
