Create a new DiskCache in the given directory with a specified max size.
The new disk cache with the given arguments
The directory for the disk cache
The max size for the disk cache