put rewrite

Better compatibility with cross string output
Fix put usage
Issue 10571 - formattedWrite error with delegate and string
fixup
fixup
fixup range
fixup format tests