small change to couchdb dump script