Rename demo to examples
Make setting FD_CLOEXEC as new internal procedure