Remove extraneous white space at end of line