Remove bytes function on python 2.5