split template folder output lines correctly on Windows