Python GZ and BZ2 support

.gz and .bz2 support. Only basic testing done.