Issue 10571 - formattedWrite error with delegate and string