Bugfix: miscalculation of average fragmentation

Bugfix: miscalculation of average fragmentation when a file can't be
defragmented.