pub fn extract_template_stem(path: &Path) -> String
Extract the template stem (filename without extensions) from a path.
For example, review.tmpl.md → review, path/to/check.tmpl.md → check.
review.tmpl.md
review
path/to/check.tmpl.md
check