Clean up directory size computation.

Refactored the code slightly, removed some excessive parallelism,
fixed a log message formatting error, and ensured that we didn't spam
syslog if files are being cleaned up while we're calculating the size.

Change-Id: Ie359701c6972cd49786ffde1e8be1cb64d356fa2
Merge "Clean up directory size computation."