[libvirt PATCH 1/2] remote: close outfiles faster