Cope with test file having Windows newlines.