virsh.dump:  Case expend and bug fix

Signed-off-by: Yanbing Du <ydu@redhat.com>