Allow repeated open/close events on a file being watched.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>