squash2 with: Perform all checks on draftfile area before saving the files
MDL-39177 Ensure files are overwritten correctly on unzip
MDL-39177 New function file_storage::get_unused_dirname()