Fix compatibility with rubygems 2.0.x
.gem/credentials needs correct permissions.