Bash 3 (such as deployed on SuSE Linux Enterprise Server) cannot handle <( syntax; also it needs the old x$FOO == x'blah' hackery otherwise it'll print "error: unary operator expected"
[BENTO-98] Use bash3 syntax in chef.sh for backwards compat with Bourne Shell. Handle missing 'curl' with 'wget'.

Fix output file naming on FreeBSD i386.