fix stat event not having the stat

In what seems like a serious API change or bug (even though the event is undocumented?), the `stat` event no longer emits the stat object, only the path. I had to make this fork and commit to repair the situation.

Disclaimer: this is a hasty fix and I'm not sure if it's merge-worthy. More like an FYI.