Removed toBinary() and usage of readAsBinaryString() (deprecated in 2012). Emulating it with readAsArrayBuffer().