Would this be better? ```os.makedirs may ignore the mode when creating directories, so force the permissions here. Some spaces (eg CIFS) doesn't allow chmod, so wrap it in a try-catch and ignore the failure.```