Implement octal and hex escapes in strings.