Make sure carriage return characters are stripped from sed input to enable the "forward" system test to pass on Windows.