Normalize \r\n to \n