use Genome::File::Tsv to write legend file