lib/gem2arch.rb: added download and digest methods