smb.php don't work with lot of files or folders if "Windows OS" (Better Fix)

The whole problem with hanging in stream_get_contents is in the way how process is created. The correct way is to open STDERR with read/write mode of pipe.