[libvirt] [PATCHv4 4/7] storage: add file functions for local and block files