pyfits -> astropy.io.fits

Minor change; just add support for astropy.io.fits instead of pyfits.  Had to make one change that I'm not sure is backwards-compatible: does `pyfits.Card` exist, or must it be accessed via `pyfits.core.Card`?