make include_pat and exclude_pat actually work
Merge pull request #3207 from UtahDave/fix_file.recurse_include_pat

Fixes #2914 make include_pat and exclude_pat actually work