Adds the string to the buffer. The string is formatted with any subsequent arguments, following the rules used for string.format.