refactor. store chapter_template content in EpubBuilder.template_chapter