change `createSubFolders` option to `createFolders`