Flushes the write buffer for the GIOChannel.
a IOChannel
the status of the operation: One of NORMAL, AGAIN, or ERROR.