cleanup the newlines handling, that was dropped off accidentally when
converting from System.out.println to StringBuilder append.