Added string escape utility.