Updated the code for Python3
Merge github.com:j-martin/easywebdav: Updated the code for Python3