There is another facet of your problem: Risk. What would happen in your application and the work flow it is used in if your calculation is 10 % off? A skewed file size statistic won't kill anyone. You get a gentle slap from your software testers and/or users and you adopt the documentation to the skewed implementation.
This is not to say that your question is always unimportant...