title: StringIO with binary files?
body: <p>I seem to get different outputs:</p>
  
  <pre><code>from StringIO import *
  
  file = open('1.bmp', 'r')
  
  print file.read(), '\n'
  print StringIO(file.read()).getvalue()
  </code></pre>
  
  <p>Why? Is it because StringIO only supports text strings or something?</p>