Moved Nif caching from niffile to a more generic template