Add trailing newlines for printf calls