'Set a metadata tag.
If the file has no tags, an appropriate format is added (but
not written until save is called).'

def __setitem__(self, key, value):

    if (self.tags is None):
        self.add_tags()
    self.tags[key] = value
