Fix dav permissions for folders

Fixes #11284 by properly using `isCreatable` instead of `isWritable` which do in fact mean different things

cc @dragotin @PVince81 @DeepDiver1975 
folder vs dir (line 19) - is both valid?