Reformat import lists
Move common code to utility functions
Change the structure for aggregator state directory

Each aggregator writes state files in a 'parts' subdirectory, parts are then
merged into the final report.

This to support a multiple writers/multiple readers scenario without locking.