XD-1712 StreamUtil Cleanup

* Use FileCopyUtils.copy(inputstream,outputstream)
* Remove unused intermediate objects