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.
Merge pull request #556 from grk/dont-fsync-every-file

Don't fsync every file when installing gems