Updated readme example code

Code now uses an arraybuffer rather than a blob.