create directories recursively in ppb_flash_file_modulelocal_create_dir
create subdirectories in ppb_flash_file_modulelocal_open_file
fix mode in ppb_flash_file_modulelocal_create_dir