title: FileUtils.mv throwing Invalid char \302 and \255 exception
body: <p>When I run the below code in <code>CodeRunner</code> or from the command line I get the following error;</p>
  
  <pre><code>Untitled.rb:25: Invalid char '\302' in expression
  Untitled.rb:25: Invalid char '\255' in expression
  </code></pre>
  
  <p>Line 25 corresponds to the line with the <code>FileUtils.mv</code> method.</p>
  
  <pre><code>if the_file.include? "Screen Shot"
      old_file = Shellwords.escape(homepath + "/Desktop/" + the_file)
      new_file = Shellwords.escape(screen_shot_folder + "/" + the_file)
  
      FileUtils.­mv old_file, new_file
  end
  </code></pre>
  
  <p>Initially I thought there was something wrong with my input (either <code>old_file</code> or <code>new_file</code>) which is why I have wrapped them in <code>Shellwords.escape</code> I have also checked that the contents of <code>old_file</code> and <code>new_file</code> are correct.</p>
  
  <p>If I call <code>puts old_file + " ++ " + new_file</code> I get something like the following;</p>
  
  <pre><code>/Users/tobyosbourn/Desktop/Screen\ Shot\ 2013-02-04\ at\ 10.49.14\ \(2\).png ++ /Users/tobyosbourn/Desktop/Screenshots/Screen\ Shot\ 2013-02-04\ at\ 10.49.14\ \(2\).png
  </code></pre>
  
  <p>Which looks spot on but if I copy and paste those as strings into FileUtils.mv I get the same error message.</p>
  
  <p>I have <a href="http://www.ruby-doc.org/stdlib-1.9.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-mv" rel="nofollow">read how FileUtils is meant to be used</a> and couldn't see anything I am doing wrong, could anyone advise?</p>
  
  <p>If it helps my version of Ruby is <code>1.8.7</code></p>