Added the O_NOFOLLOW flag if follow symlinks is set off.