virttest/virsh.py: Add 'to_file' to capabilities func
Merge pull request #1869 from PandaWei/capability

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