Work directly on the storage when uploading over webdav

Not going trough the entire filesystem stack for the part files during uploading saves a good amount of work and database queries.

In my local test instance this saves 24 queries for a regular upload and 89 queries when uploading to a shared folder.

cc @DeepDiver1975 @PVince81