Convert templates to files.