Split GlobMatcher in two to keep its core independent from IO and
ListSync.