Add file extension to cache key