Update ScriptXmlWriter.java

Remove the deprecated #reduceMediaTypes method