EZP-23031: allow large file sizes on DFS without memory limitation.

This updates `eZFile::createFile()` so it can accept either a string or file resource as `$data` parameter.
dfs.php is updated accordingly, creating a handle using fopen() instead of passing the whole content with `file_get_contents()`.

The validity check for `$contents` in `createFile()` also applies to the handle in the same way.
This is actually a minor fix for returning before `accumulatorStop();`