remove blank line at end of file