Only create gem subdirs when installing gems

RubyGems was creating the gem subdirectories when fetching .gem files.

This resulted in annoying directories for the user to delete.

Now RubyGems only creates directories when installing gems, not when
merely downloading a .gem file.

Fixes #482