Remove unnecessary empty lines at EOF