Fix check name sanitizing regex

The backslash in these regexes is being interpreted literally, whereas
the one in Sensu socket.rb#L27 serves to escape the following period.
Escape backslash and double quotes in command output
Merge pull request #1 from cronnelly/master

Escaping of command output