change File::FNM_EXTGLOB logic