fixing gzip import issue 2774

Changed import from:
import gzip
to:
from ...utils.compat import gzip

ran setup.py test and all io/fits tests passed. I don't have Python 2.6 to test that this really fixed the problem, but it should based on the comments in issue #2774