convert the sqlite metadata table to TSV for analyses