`open_flags_str()` only checks known `FLAG_NAMES`, which can hide unexpected flags. We should print the remaining unknown bits as `|0x<hex>`.
open_flags_str()only checks knownFLAG_NAMES, which can hide unexpected flags. We should print the remaining unknown bits as|0x<hex>.