Add support for ExpandedFlowSample

The record processing is the same so I refactored that into a module .. there didn't seem another obvious place to put it.