minor fixes os.mkdir into os.makedirs