hgweb: remove handling of any else than strings from request.write
Iterators should be returned WSGI style, not written. And apparently all of
hgweb do that.
serve: send response headers even if response has no body
The headers would usually be sent anyway because the app did a number of writes
of empty strings.