Add charset to Content-Type header. Closes GH-175.