Fix STDERR redirect on `which` commands.