Refactor flowtable printing

Lift the flowtable printing code in Dump.Local into its own function,
and resue it in the other Dump.* modules.