fix PathFilterIterator Pattern conversion

The default implementation simply escaped the pattern
but did not convert a glob pattern to a regex
fix typo

[skip ci]
Merge pull request #362 from sstok/fix-PathFilterIterator-regex

fix PathFilterIterator Pattern conversion