fix(deprecation): base64 encodestring is deprecated use encodebytes
https://docs.python.org/3.8/library/base64.html#base64.encodestring
encodestring is dropped is python3.9 (released today \o/)
https://docs.python.org/3.8/library/base64.html#base64.encodestring
encodestring is dropped is python3.9 (released today \o/)