Also, a check to ensure that makedirs() behaves as expected when trying to create a directory on top of an archive.