[feature/twig] Remove reference to cachepath, it is not used publicly anymore

PHPBB3-11598
[feature/twig] Remove getCacheFilename function I was working on

This can be addressed later if we decide we want to have more nicely named
cache files. It does not need to be addressed now

PHPBB3-11598