Don't fsync every file when installing gems

d84090b introduced "similar sync behavior from old tar code". It looks
like the old code was fsyncing directories, but the commit was fsyncing
every single file.