Better handling of win newlines

Previously, the line break would leave the \r's in the results. It can now read any newline combo from any system type.