[FIX] add O_CLOEXEC while opening logfile