autopep8 + fix for bytes/str regarding base64 for py3