move require 'resource' to download_strategy.rb

where it is actually needed