Fix chassistypes detection for Windows
Change form of logfile