Fix checksum errors when uploading binary data

MD5 checksums were failing when uploading binary data because the read and write streams were set to ascii encoding, removing the ascii encoding setting fixes the problem.