Add fallback decoding if chardet fails to guess the correct encoding
Merge pull request #442 from Athemis/master

Follow-up of pull-request #440