properly sanitize the template path