Use bytearray more efficiently, better python 3.1 support