BF: pyinotify - do not even try to track newly created directories

and == is not a correct way to compare the masks, should use bitwise operations