Explicitly flush output at end of each event, for "zpool events -f". Issue #1568