Fix append on text

string literals have type string, whereas string objects are instances
of String