Break up write_disk method. Rename exception.
Add qemu-img call