Also add an exporter from econsim results to sqlite to aid in debugging the economy (which revealed this bug).