Fix the file transfer chunk format

Change the chunk format from ArrayBuffer to binary string so it can go through
worker ports.

Fix https://trello.com/c/klBeJQNX