Only use the disk cache directory if we can write to it

Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed