sendAsBinary for chrome/safari