rm empty lines at EOF