can also have `.fits.Z` and `.fit.Z`, I think.  Perhaps a more general version is `'fits' in input.split(".")`?  But, I don't think this is necessarily important enough to put here... so ignore this comment (or mentally shift it to the astropy io registry...)