Fix "changes" promise not receiving status when file is missing.

Fixes issue 2820.
Merge pull request #795 from kacfengine/issue-2820

Fix "changes" promise not receiving status when file is missing.