Fix remote.R under Windows

included a sanitize function that removes escaping for certain characters in the ssh commands