Handle UTF8 decoding errors. Fixes #11