ownCloud plugin : fix for upload/download not working with some servers