Corrected ThresholdOutputStream (the rewind and mark/reset behaviors of in-memory and temp file storage should be the same)

git-svn-id: https://svn.apache.org/repos/asf/chemistry/opencmis/trunk@1563862 13f79535-47bb-0310-9956-ffa450edef68