Fixed newlines in printing.

Change-Id: 41dc6f51c0
Story-Id: 79337172