Read and write 2d `C` arrays from and to `FITS` images.