Throw exception if undable to create cache dir