Removes blank line at eof