Fix sources.py to comply with pep8

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Archive class rewrite

Signed-off-by: Tomas Hozza <thozza@redhat.com>