Remove extra line at end of file