allow use of pyfits if astropy is not installed