reducing memory allocations in the mac file system watcher