Fixes bump-version tool.

--HG--
extra : amend_source : a15da2db7adba2adba22be2890d6e7ca7aa23a2c