Fixed newline not working in windows