Update download.rb

Allowing URLs with square brackets to get parsed.