prevent use matching directories, update #2373
prevent use matching gemsets, update #2373
do not pipe to tar in openbsd, fix #2374
remove extension from temorary file for installing opnebsd ports, update #2374