Merge pull request dart-lang/watcher#28 from dart-lang/fix-bug

Fix a crashing bug on Linux.