def METHOD_NAME(self, zipfile, prefix=None, **kwargs):
    fn = self.component.slug + '.' + self.component.file_ext
    if prefix:
        fn = os.path.join(prefix, fn)
    zipfile.writestr(fn, self.text.encode('utf-8'))