Make EVENT_WRITE and EVENT_WRITE_BULK to filter inotify events and set cookies automaticaly. Also EVENT_WRITE_BULK sets directory flag now
NOTE: IN_MOVED_FROM event generation does not respect IN_ISDIR flag now. I`ll be addressed in next commit