Revert "Fix 'stat' example"

This reverts commit 8d13430dc657fca09fd3b26bfef5e0ed5ae23747.
More complete pull request submitted to upstream.