replace: Add don't include unistd.h directly and add uid_wrapper.