Support templates with extensions other than .swig