Even if you haven't seen any issues, you should also copy paste
```
        for dirname in dirnames:
            arcpath = make_zipfile_path(template_root_dir,
                                        os.path.join(dirpath, dirname))
            dirs_to_create.add(arcpath)
```
Otherwise, some zip reader will fail reading the xpi.