Update to get _export_db to export to a file working.