Correct archive unittests and pep8 conformity in archive class

Fixes unittests for sosreport and has been run through the pep8 syntax checker for any cosmetic errors.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>