Fix a bug when importing an archive: the subdirectories were not created