Make string comparison cross-platform by using os.linesep
Make string comparison cross-platform by using os.linesep

This fixes Windows failures when running CLI tests due to different line
separator (\n != \r\n).

Worth noting that windows requires PYTHONIOENCODING=utf8 environment
variable to make it compatible with the CMD terminal IO.

rspeer/python-ftfy