fix string::arrayBufferToOctets for large inputs. (Used to cause occasional errors in the conductance bridge)