Update minimatch to the latest version which drops support for backslashes as path separators in glob paths.
https://github.com/isaacs/minimatch/blob/main/changelog.md
At that point we should also consider whether to switch to a different glob library.