Modified get directory size.