add a directory stat test
moving object size estimator, adding 4 bytes for object pointers
more getStats fooling: be explicit about asking for Stats only for directories

also, {}.length is undefined, so we should calculate the rough size of
the object