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 
No, it's luck that it happens to work (only checks if not equal to `'file'`) will fix