Avoid a PHP Warning on setAttribute

This sometimes results in an error:

    PHP Warning:  DOMElement::setAttribute(): string is not in UTF-8 in /var/www/projects/lib/vendor/lexpress/symfony1/lib/vendor/lime/lime.php on line 107