fix twisted msgpack error handling