sendAsBinary() implementation for chrome and browsers other than firefox

see http://code.google.com/p/chromium/issues/detail?id=35705#c54 for
details.