Fix template names to always use '/' for directory seperators in TemplateCache[templatename]