Tidy handling of http_print_stderr in couchdb module.