utils/web.py: Properly import chardet.