[libvirt] [PATCH 03/11] Refactor virStorageFileGetMetadataFromFD to separate functionality