Remove pyfits deprecation warnings.
Handle void primary & extensions in create_fitsheader_for.