Fix Content-Length calculation for multi-byte file names

closes #12