Fix optional aggregate/bidir extension export

Fixes a problem with aggregate flow and bidir byte/packet counts.
For current aggregations, extension map was exported, but the data was
not filled in.