Remove trailing newline.