MDL-39177 Ensure files are overwritten correctly on unzip
MDL-39177 New function file_storage::get_unused_dirname()