[IMP] refs #241 Change all XHTML template files to TMPL files
[FIX] fixes #241 Do not permit to choose a result extension similar to
template's one