A bit more clean up on file descriptors.