[libvirt] [libvirt-python 3/3] Update exception catching in generated code