virttest/virsh.py: Add 'to_file' to capabilities func

Signed-off-by:  weijg.fnst@cn.fujitsu.com