use a bigger buffer to guess encoding.