fix bug: Client.cache_dir()
Merge pull request #3730 from giantlock/develop

fix bug: Client.cache_dir()