Diff/Stats.xs: Added insertions(), deletions(), files_changed() and buffer()