1. FileWithSnapshot#updateQuotaAndCollectBlocks did not consider the scenario that all the snapshots has been deleted from a snapshot copy of deleted file. This may lead to a divide-by-0 error.
2. When computing the quota usage for a WithName node and its subtree, if the snapshot associated with the WithName node at the time of rename operation has been deleted, we should compute the quota based on the posterior snapshot.