Ensure recursive `template` paths work on Windows.