Calculate directory size correctly.
Gzip compression properties.