Fixes character length differences

Fixed character length differences in Windows caused by newline new
line. \r\n instead of \n