Previously, the old bake was only overwritten file by file. This caused issues like the one fixed in 7d77691a83. Also, it could result in invalid bake data if some bake is canceled and the data on disk is a mix of an old and new bake.
7d77691a83