Fixed the path of the file being mixed up with the archive name.

Also removed toLowerCase() on the archive name.
Merge pull request #6 from sk89q/master

Sync with upstream