Better fcntl error message.
Add todo comment.