Walks directory tree while emitting events.