Flushes the write buffer for the GIOChannel.
a IOChannel
the status of the operation: One of g_io_status_normal, g_io_status_again, or g_io_status_error.