[PDI-10389] Changed step to cover the changes of the expecting result in...

... 4 unit test cases.

Text File Output Step throws a null pointer error when "Do not create file at start" is checked, "Add Ending line of file" is valued, and transformation does not pass any rows to the file input step.