Added addslashes and stripslashes using internal function call.

Signed-off-by: Rack Lin <racklin@gmail.com>