Bugfix: Fixed the file name validation if nodeid is used

We have fixed the file name validation if nodeid is used

https://github.com/owncloud/ocis/pull/9634
https://github.com/owncloud/ocis/issues/9568
