Cleanup: the full table writer module only writes to stdout now, so all the filename handling stuff can be deleted.