make it run on python2 (pypy)

- bytes() is an alias of str() in py2 orz