Using cach_dir throws an error

Unfortunately, I cannot reproduce this error with the latest release of datasets.