Add configuration option for template file extensions