A cryptanalyst freed $300,000 in Bitcoin that was locked inside an encrypted zip file. Here’s what happened.