If only one image is ever going to be written this should return a single MetadataFile instead of IEnumberable.