Create or update a metadata object without altering content
MN.create, MN.update and CN.create changed the InputStream object to String base on the encoding declared in xml prolog. However, if the encoding declaration is wrong, the content will be modified. The code was changed to save the input stream object directly.
The replication among Metacats had the same issue. It was fixed.