Force localize_html_string input to string before any gsubbing

Per my comment here: https://github.com/mbleigh/princely/pull/39

Thought about doing the `.to_str` in `PdfHelper` but this seems universally safer.