Build the template folder file path using the URI instead of the path.