This will not work on Windows. Either we must read the file in text mode, or we need to change the ``SingleLine`` call further up to look for both "\r\n" at the same time.