[SP-1254] - Regression PIR-994 - Fixed encoding issue with Metadata domain save, by removing the unneeded inputstream recreation.
Cherry picked from 69fa4efe40394d48392423887e25daa4bacfbe42
Merge pull request #1480 from webdetails/SP-1254

SP-1254] - Regression PIR-994