Remove trailing blank line at EOF.