open gzip files in text mode in the tadm classifier trainer