fixes #2076 Windows provisioning template generation fails