[libvirt PATCH v2 48/56] src: convert code to use virPipe APIs