re #5 fix #5 Changing the call of os.path.mkdir to os.makedirs

os.path.mkdir does not exist and should be replaced with `os.makedirs`