Update download.rb

Trying to fix uploading for file names with square brackets in them.