convenience functions for working with HDUs (overlap with FITS_tools,
which should become a dependency next refactor...)