Win32 (CR+LF) support

I added support for Win32, since the line ending is not the same (\n on Unix and \r\n on Windows) :+1: