Watcher throws an unhandled exception on deleting

Fixes #12
On deleting a directory in windows, watcher throws an unhandled
exception. This change prevents Object.keys being called with undefined.