Try to create cache_dir if not existent.