Updated linux serialization sample.