Fix line ending issue on the file end after rebasing.