GH-18: Unify codepaths for FMT_RAW and unrecognized flags