HADOOP-19562. Fix TestTextCommand on Windows (#7679)
* The following 2 tests are failing in TestTextCommand -
1. testDisplayForNonWritableSequenceFile
2. testDisplayForSequenceFileSmallMultiByteReads
* These tests create a file and flush a string ending
with "\n". However, for verification, the tests
expect "\r\n" as the line ending on Windows.
Thus, the test fails.
* This PR fixes the same by checking for "\n" as the
line ending on Windows.