Add a argument: flush in NamedPipe::writeBuf().

In general, small size of data isn't sent to the other end.
So we call g_io_channel_flush() by default.