Change escape characters for OSX mountain lion. http://superuser.com/a/33991