String input to ExpandAndMapIteratorsFromScalar is mutated, not const
Bufferize ExtractInnerCf3VarString
Add ExtractScalarPrefix, bufferize in ExpandAndMapIteratorsInScalar
Avoid copying scalar in ExpandAndMapIteratorsForScalar

This was done to deal with functions that needed null termination