Use statbuf consistently
Test Plan: make test
Reviewers: Baloo, bruns
Reviewed By: Baloo, bruns
Subscribers: Frameworks
Tags: Frameworks, Baloo
Differential Revision: https://phabricator.kde.org/D11982