Clear out the temp dir to avoid double-counting in reallocate.