Escape backslases in input code string.

Fixes #1