Append newline at EOF when creating file in JetTestUtils
Append newline to EOF for .txt test data files

Reverts and fixes 102f0d3