binlog: Add support to write StopEvent in MockLogFile