Added helpful error message when cache isn't writeable