implements support for IN_CLOSE_WRITE events