In the function file_mkdirs (file.c) the path is tokenized with DIR_SEP_CHAR as delimiter which is platform-dependent. Thus the slash was not recognized and the last folder was not created.