Flush stdout/stderr when it's used, that way we don't lose messages
because of buffering; return errno (not EIO) when fprintf/printf fail,
they are required to set errno on error.
Move the fotxn fields to the end of the WT_SESSION_IMPL structure for now
(reference #882).