Fix warnings found by StringFromFormat having printf style checking.