remove extraneous newline at end of file