Add piped serialization input/output. (#65)