Java concurrent file encoding guesser