Explicitly encode DDS response for mod_wsgi

Encode the DDS response as UTF-8, otherwise the DDS response will not
work behind mod_wsgi.
Bump version
Merge branch 'hotfix/3.1.1'