erlang binding to inotify