[#189] Log error messages as unicode

This prevents non-ascii iati identifiers causing fatal errors.