Added version in  script end-of-stream (#2697)
Added version in  script end-of-stream (#2697)

* Added version in  script end-of-stream

* Added some validation for end-of-stream

* .bak file deleted

* Modified with some validation in end-of-stream

* Updated script with version tag for end-of-stream
ppc64le/build-scripts,ppc64le/build-scripts,ppc64le/build-scripts