Fix merge not copying remaining lines at the end of the file.