Fix UnicodeDecodeError in node string representation.

@jone 

Happens if an attr has umlauts. 

Exmaple:
```html
<a title="öüö">link</a>
```