Arduino changed the download link again, this time it uses a script,
curl handles it ok luckily.
Merge pull request #289 from sej7278/master

Arduino changed the download link again
Allow avrdude to erase the chip before programming during ispload

We currently pass the -D (do not erase) option to avrdude
unconditionally in order to work around an Arduino Mega bootloader bug.
However, this has the side-effect of breaking the ispload target for all
non-XMEGA chips, since a write operation on these chips essentially ANDs
the new program with the existing memory contents. If the memory is not
first erased to contain only 0xff, the resulting image is garbage. This
patch makes it so we pass -D when we're using the Arduino bootloader but
don't pass it when we're using ISP directly.