Auto create cache directory

Auto create cache directory if not exists