Follow-up of pull-request #440

I missed the case that chardet is unable to detect any encoding. Added a simple fall-back mechanism.