Writeable check/attempt to cache dir

Although it will fail more than it succeeds, it also acts as a better user hint as to the nature of a cache write failure.