fix tox envlist
fix string encoding for base64
pep8