Fixes a support issue when serializing ArrayBuffers to base64 prior to iOS 6.0