introduced b.saveString() to write a string in one go to a file