Add file descriptor constructor.