Switch to using path.Match

Using path.Match from the stdlib which is closer to the fnmatch used in
Python.