virsh-domif-setlink-getlink: finally fix the backup and restore guest xml
virttest.standalone_test: close debug file handler