default cache_dir should be unicode