Use byte2int() instead of ord()

Signed-off-by: Michael Buesch <m@bues.ch>