Removed the Python 3 byte array hack which should have been removed earlier.
This code is from r17669 which should have been removed at r17712 but was accidentally left out.
Instead of reverting, the code has been deleted as r17669 contained another useful change.