Folder 'XYX' does not exist

Hello,
I’m using DreamFactory Version: 2.12.0 (from bitnami installer on centos 7). I have Local Storage.
Problem is when I try to upload binary file (photo) to storage into not-existing directory.
Older version of DF I think do it right.
When I separate creation of folder from upload file, than it is works.

There is my call:
curl -X POST “https://…/api/v2/files/” -H “accept: application/json” -H “X-File-Name: folder/file.x” -H “X-Folder-Name: folder” -H “Content-Type: raw” -H “X-DreamFactory-API-Key: apiXXX” -H “X-DreamFactory-Session-Token: tokenXXX” -d “sss”

and error output:
{
“error”: {
“code”: 404,
“context”: null,
“message”: “Folder ‘folder’ does not exist.”,
“status_code”: 404
}
}

How can I call local service to create directory at first and after that upload file.

Thank’s for advices.
Rado.