New implementation of avocado.utils.archive.

Signed-off-by: Ruda Moura <rmoura@redhat.com>