Be more cautious about file descriptors.