Handle Unicode decode errors by continuing to process

Used to result in an uncaught exception.