Correct a bug when retrieving/uploading medias.
Correct a bug when retrieving/uploading medias.

base64 encoding/decoding was manually done instead of using xmlrpclib/xmlrpc.client
Binary object. For compatibilty, b64encode/b64decode parameters have beed added to
the respectives methods.

fmenabe/python-dokuwiki