Implement own version of unzip.
Closes #540