make `changed` function ignore deleted files