Remove null chars in arrayBufferToBinaryString (fixes #4)