Cleaned Praat.py and encoding for toTextGrid