io: replace pipe() with g_unix_open_pipe(CLOEXEC)