Remove the trailing newline