Fix wget output filename

The downloaded file had a query string generated by the repository. Then, the gem wasn't able to find the right file to unzip.

This fix returns only the filename as is done using curl command.