'Return the members of the archive as a list of their names. It has
the same order as the list returned by getmembers().'

def getnames(self):

    return [tarinfo.name for tarinfo in self.getmembers()]
