Allow both UTF-8 and UTF-16 TextGrid files