For files to be excluded in Windows, their paths have to be normalized, so that the string matching works.