iotests: Add more qemu_img helpers