Change the name of template files. (Fix #339)