title: Insert method produces error on attempt of adding binary code in Python
body: <p>While I try adding binary code to the list using insert() method I got following error:</p>
  <blockquote>
  <p>UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position
  0: invalid start byte</p>
  </blockquote>
  <p>With append() method this works just fine.</p>
  <pre><code>for c in range(len(nlist)):
      #print(nlist[c])
      with open (nlist[c], 'rb') as chunk:
          header=chunk.read(1024)
      #nlist.insert(c*2+1, header)
      nlist.append(header)
  </code></pre>