DEPENDENCY: change pyfits to astropy.io

This PR changes the deprecated ``pyfits`` dependency in favor of ``astropy.io.fits``.