Better error handling when calling out to system commands

I've add several issue with this plugin that were hard to debug because qemu-img would fail, but the plugin would carry on regardless. 

This change will raise an exception with the full command that caused the failure.