remove dependency on dart.io from pigeon; fit int serialization