Make sure we set Content-Type correct.

Fixes #18.