Fix 2359

This is the most portable way I know to check the dir size.