TEZ-1861. Fix failing test: TestOnFileSortedOutput. (sseth)