Don't let progress crash just because some user string has { and } in it.

--HG--
extra : rebase_source : 77c39ee96909e277c253089e5187f2c01c84e9ea