[TASK] Add an overlay-capable template filename resolve method

This method should be used by all Providers when they are required to support overlays, including when resolving template files in a backend context.