Support two versions of pyexiv2