title: How to solve in `basename': no implicit conversion of Array into String
body: <p>I would like to get a filename from ViddlRb without extension.
  If i'm running the get_names method with a Youtube URL i'm getting back a array. I'm doing that:</p>
  
  <pre><code>    file = ViddlRb.get_names(url)
      file.first
      file.to_s
      puts file
      filename = File.basename(file, '.*')
  </code></pre>
  
  <p>But if i'm running it i'm getting:</p>
  
  <blockquote>
    <p>in `basename': no implicit conversion of Array into String</p>
  </blockquote>
  
  <p>Maybe anyone knows why it breaks? I thought a file.to_s does that job.</p>