Hack to patch JPEG format name to FITS standard