js/dirTracker.js: getSizeSnapshot recursively gets the size of a directory