Mock out the underlying segment-io call.

TE-532