These fixes came out of this issue (https://github.com/ppi/framework/issues/51). Changing private to protected to that getFileName() can be overridden to use symfony-based templating locators.