Log exceptions in DAV storage

In some cases a "NotFound" might be expected, so just return false as
before. But for other exceptions, the exception is now logged.

Fixes https://github.com/owncloud/core/issues/12586

@icewind1991