Fix download from webdav