`fh.write(tpl.format(hook=name))`