wrapper for escape_string