updates encoders.py. py3 except syntax.