Use the more extensive file name cleaning on Windows by default
This was the last code conditional on the Enterprise build option from the 3 era. It's replacing dots by underscores when sanitizing file names, something that isn't enterprise- but Windows-specific. So make it conditional on that instead.