[WFLY-3348] Close the input stream from domain deployment content additi...

...ons