FreeBSD: don't use /dev/fd, bug #478446