Revert "Set Jinja2's keep_trailing_newline=True in template_from_string."

This reverts commit 7a8eb0b6701e437cb18b9b3a540dbac9aef9db26.