Remove extraneous newlines