title: zipfile password not accepted
body: <p>I am trying  to extract a zip file with password, in this case the password is 12345, but when I try the extractall, it catches the exeption of wrong password. And I don't know if it might be helpful, I am using python 3.7.</p>
  
  <p>I put the b"12345" because I have tried it but I also have tried other things such as:</p>
  
  <pre><code>   pwd = "12345".encode('cp850','replace')
  
     pwd = "12345".encode(utf-8)
  
     I also tried to use a variable instead if "12345" which was the main ide
  </code></pre>
  
  <p>The code is:</p>
  
  <pre><code>   try:       
         zipArchive.extractall(pwd=b"12345")
         print("\nPassword found: ", password.decode('utf8'))
     except RuntimeError as a:
         print("\nWrong password: ", password.decode('utf8'))
         print(a)
  </code></pre>
  
  <p>The error message I got:</p>
  
  <pre><code>  Bad password for file &lt;ZipInfo filename='coral.png' compress_type=99external_attr=0x20 file_size=1368829 compress_size=1345029&gt;
  </code></pre>
  
  <p>By the way coral.png is the unique file that is in the zip file</p>