export inotify-add-watch and inotify-rm-watch, including initial test