added bytearray conversions, Int64 conversion on 32-bit machine, support for throwing IOError