Let Folder class create files recursively to avoid errors.
Merge pull request #5128 from cakephp/3.0-folder

Let Folder class create files recursively to avoid errors.