Fixed the unpacking of zip archives.

Apparently the order in which the -o and -d options are specified matters.