utils_libguestfs: Add some new APIs