Inline variable in cfstream.c to make logic clearer
Add StringFormat function, similar to xasprintf, but handier