Switching from guessEncoding to Apache Tika.