Add a '\n' at the end of the last line

Change-Id: I4df328719239e0fe5810cb854de66d3ce0a0a9a8
Merge "Add a '\n' at the end of the last line"