title: No such file or directory @ rb_sysopen (Errno::ENOENT) - DOCSPLIT
body: <p>I'm trying to extract images from a Microsoft Office Word document with Docsplit and returns this error:</p>
  
  <pre><code>/home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:22:in `initialize': No such file or directory @ rb_sysopen - example.doc (Errno::ENOENT)
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:22:in `open'
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:22:in `is_pdf?'
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:11:in `block in ensure_pdfs'
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:10:in `map'
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit/transparent_pdfs.rb:10:in `ensure_pdfs'
  from /home/deploy/.rvm/gems/ruby-2.1.2/gems/docsplit-0.7.5/lib/docsplit.rb:50:in `extract_images'
  from test.rb:4:in `&lt;main&gt;'
  </code></pre>
  
  <p>This is the script:</p>
  
  <pre><code>require "docsplit"
  Docsplit.extract_images('example.doc', :size =&gt; '1000x', :format =&gt; [:png, :jpg])
  </code></pre>
  
  <p>This is the line 22 on transparent_pdfs:</p>
  
  <pre><code>File.extname(doc).downcase == '.pdf' || File.open(doc, 'rb', &amp;:readline) =~ /\A\%PDF-\d+(\.\d+)?/
  </code></pre>
  
  <p>I'm using Centos 6 with all libraries installed, on Mac Os X works great on the same way.
  If I try to convert a pdf works great, only fail with office documents.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks,</p>