Set Content-Length in bytes, not characters.

This is a better fix than explicitly escaping all unicode characters.