GZip the EPEL primary file too.
Clean up tests a bit.

Also don't use __str__ for the encoding method because it returns bytes, and on Py3 that matters.