pub fn cache_dir() -> Result<PathBuf>
Returns the cache directory for tl.
Resolution order:
$XDG_CACHE_HOME/tl
XDG_CACHE_HOME
~/.cache/tl
Returns an error if the home directory cannot be determined.