Code now import both astropy and system gzip

For clarity the astropy gzip is called _astropy_gzip
and the system gzip is called _system_gzip.

All gzip.x statements have been changed to use the
_astropy_gzip.

All isinstances statements check both