Added the possibility to specify the codec used to decode the file.

- Added an exception if the unidecode package is not installed.
- Modified the README to explain how to pass the codec as an optional
argument.