TMDiskCache: added initializer for custom cache directory