Normalize end of file.