Figured out the inability to serve binary files on your machine and my linux desktop

We were relying on the system default charset, which on my laptop happened to be a friendly one.  Instead I now specify it explicitly everywhere we convert bytes to string and vice versa.