Python 2 bytes fix
disable some pylint warnings