Error handling for HTTPError of open-uri.

If gem-src got exception when multiple gem install, it break install process. I fixed this breaks.