Added workaround for Node.js v0.11.6 (`new Buffer(bufferInstance)` call corrupts original data).