Remove unnecessary import of chardet.