'Delete zinfo.filename, and write a new file into the archive. The
contents is the string \'bytes\'.'

def replacestr(self, zinfo, bytes):

    self.delete(zinfo.filename)
    self.writestr(zinfo, bytes)
