Small cleanup to code for monitoring file system changes.