Use chardet to make an intelligent encoding guess

We still use sickbeard.SYS_ENCODING, but if that fails, try chardet before dumping out completely.

This fixes bug 2253: https://code.google.com/p/sickbeard/issues/detail?id=2253