Issue 10571 - formattedWrite error with delegate and string
Use correct put calling convention (free function)
Improve format tests
Improve put implementation and semantics