Fix delete change listeners not getting previous stat

When a file is deleted the listeners should get the previous stat (which used to be the case, I think it regressed in 4174e8d77bc86598329ee03f43d7f8412df80ac6). I've fixed this.

I've also updated a test, which required changing the testing file a bit. Let me know if I did something wrong and I can change it.