Get checks if an entry with the given ID
already exists in the cache, and if so,
returns the directory and true. If it
does not exist, it returns an empty string
and false.
New creates a new directory with the given ID in the cache.
If a directory with the same ID already exists,
it will be deleted before creating a new one.