def METHOD_NAME(self, filename, title, slug, post_date, description, tags, **kwargs):
    """Write metadata to meta file."""
    if not description:
        description = ""
    utils.makedirs(os.path.dirname(filename))
    with io.open(filename, "w+", encoding="utf8") as fd:
        data = {'title': title, 'slug': slug, 'date': post_date, 'tags': ','.join(tags), 'description': description}
        data.update(kwargs)
        fd.write(utils.METHOD_NAME(data, site=self.site, comment_wrap=False))