Prevent leak of EINTR

Currently fsnotify doesn't hide the occurence of EINTR errors which
can happen on blocking calls while receiving signals.