Fix directory 'size' calculation.