def METHOD_NAME(self, template_path,
                    output, **kargs):
    """
    render_template fetches a given jinja2 template and writes the formatted template
    """
    template = self.template_env.get_template(template_path)
    kargs["beat"] = self
    output_str = template.render(**kargs)
    output_path = os.path.join(self.working_dir, output)
    with open(output_path, "wb") as beat_output:
        os.chmod(output_path, 0o600)
        beat_output.write(output_str.encode('utf_8'))