Fix recursiveDirectoryIteration testcases on windows systems

Thanks for the tip with the global_gitignore file. To revoke the commit in my last pull request and keep history clean, i open a new branch and only cherry pick the commit with the testcase change.