Filter files with specified pattern on Windows.