Remove trailing empty line.