qnd: Added some parameters validation to parameters that are later used as parameters to exec command.

git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@94897 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
adding empty directories
adding empty directories