Close a couple of small file descriptor leaks.