remove char* based escape() function, no longer used