The distinction between cmdtobuff and pipetobuff was needed when some
Unix machines couldn't support the full fork/exec/pipe commands but
could do simple pipe commands. Since this is no longer the case always
use cmdtobuff since it is more powerful.

Moved the pipetobuff code to win32 to see if it will work under win32.