wildmatch: make wildmatch's return value compatible with fnmatch