fix file not found error when using java7 file watcher