n_fopen_any(): fix n_FOPEN_STATE_EXISTS discovery in `filetype' hook branch