virt: Backup vm xml to a desired base directory.

Some test use vm.backup_xml() to backup vm's configuration, when test is over, user must remove this xml file, if use 'test.tmpdir' in this function, xml file will be removed automatically.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>