svnpatch.py: Avoid unnecessary encoding/decoding which doesn't work with invalid UTF-8 characters.
svnpatch.py:
Avoid unnecessary encoding/decoding which doesn't work with invalid UTF-8 characters.

* contrib/client-side/svnpatch.py
  (encode): Rstrip "\n" only from the last line of input.
  (decode): Don't decode zlib-decompressed bytes to str and write bytes to output.
  (): Read bytes from stdin instead of reading str and encoding it to bytes.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@876648 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion