Allow plugin to override theme file

Add a filter so that a plugin can override a theme file without hooking the wordpress transient api.

Resolved  issue #868