Made -z option work on FITS files when using names for columns