Fix uploading files containing a # in the path for webdav

cc @DeepDiver1975 @karlitschek @PVince81