Fix template file names.