read token files as binary and decode to latin-1

in order to maintain compatibility with Python 3 string handling