Fixed the problem that may block on g_io_channel_write_chars().

A NamedPipe class provides asynchronus APIs. However, PIPEs w/o
N_NONBLOCK may cause a block on g_io_channel_write_chars().
In the state, GLIB event loop also doesn't work.