Escape curly braces in regex

The Travis CI build is currently failing on Ruby 1.8 and Ruby Enterprise Edition. This is due to unescaped curly braces in `spec/remote_sepc.rb`, which Ruby 1.9 and above don't seem to interpret specially.