Fix Buffer type so it accepts Uint8Arrays from Browserify