add preliminary g_io_channel stuff