Remove unused code

Originally from @ketancmaheshwari <ketancmaheshwari@gmail.com>
Download file with curl if wget fails

Originally from @ketancmaheshwari <ketancmaheshwari@gmail.com>