Use the new fsnotify API.
Merge pull request #4 from eaburns/new_api

Use the new fsnotify API.