python2 makedirs dosen't support the exist_ok parameter