Also replace redundant `{!s}` with `{:s}`.
This was split out as part of a refactor but isn't intended to be a new public module for other scripts to use. Ref !141088