Don't write to cache dir if readonly
Don't write to cache dir if readonly

TimoRoth/oggm,juliaeis/oggm,OGGM/oggm,anoukvlug/oggm,bearecinos/oggm,bearecinos/oggm,TimoRoth/oggm,juliaeis/oggm,OGGM/oggm,anoukvlug/oggm