Issue #17401: Output the closefd attribute as boolean.