Fix Issue #3: In Windows \r\n output will be \r\r\n