/lib/sanitizeString.py sanitizeByType function for lines, tsv, newick trees, and fasta files