Make sure target file ends with a new line before appending lines to it
1 file changed