[BUGFIX release] Fix htmlSafe to accept numbers

Handlebars SafeString does not ensure unescaped strings are actually
strings. Morph expects that they are.

Convert content to a string before passing it to SafeString.

Fixes #9445