85514 : ACE-676 : Uploading new version of pdf sets mimetype to unknown
- Use specialised write(content) method to ScriptNode to allow the mimetype, encoding etc. to all be calculated and applied in a single call.
- We should not rely on mimetype sent by client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261