davStorage: clean up code, remove duplicate error calls