Rewrite watch-dir to use Java 7 Watch APIs.