Check fnmatch() when other predicates that rely on fnmatch() are used.