correct file endings for Windows