Not that this is related to this PR, but it stuck out to me.  One could in principle just use a FITS file opened with `do_not_scale_image_data` and store the raw values in a FINF file, leaving BSCALE/BZERO in the header metadata--that would allow a perfect round-trip.