Add new method in Template: buildCachingPath, which will build more nicer path with a index.htm file in it.