Apply 433ab7b5694fe9ac924eb29fe3fedfc3c05d9a84 here too

The same Sprintf was used here, so this can be optimized as well.

Thanks to @andrewtj for the ping.