libs/ipkg: capture stdout, stderr when running opkg commands