Fix build_template docstring and add encoding related tip to docs