inotify: ignore EINTR

`os.read()` call may trigger an EINTR error when the system call is
interrupted. This happens on various occasions, like receiving a
signal (for example, Ctrl-Z, like in #101).