Prefix internal tables with "dd"
Fix bug in PG data store.
Write to different output dir for each run.
Allow users to specify output directory.