Changes pyfits dependency to astropy