title: pyPdf error invalid argument
body: <p>I'm actually using pyPdf to open, read and write the content of a PDF file.</p>
  
  <p>for that I use these lines of code :</p>
  
  <pre><code>from pyPdf import PdfFileWriter, PdfFileReader
  
  pdf = PdfFileReader(file("/myPdfFile.pdf", "w+b"))
  content = pdf.getPage(1).extractText()
  print content
  </code></pre>
  
  <p>But it returns me this error and I don't understand exactly why</p>
  
  <pre><code>File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 374, in __init__
      self.read(stream)
  File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 702, in read
      stream.seek(-1, 2)
  IOError: [Errno 22] Invalid argument
  </code></pre>
  
  <p>Anyone can help me?</p>