[libvirt] [PATCHv3 06/10] storage: simplify fd handling