Fix octemplate string escaping.

@LukasReschke @karlitschek