Sometimes calling chardet.detect(data) return a null encoding information
Prevent specific Chrome browser error with some filenames