fix the old cygwin handle duping tests