append an ending newline.