Create cache dir if it does not exist.