- Included patch from Michael Muller <mmullerenduden.com> that fixes some
possible buffer overflows, and some yEnc incompatibilities.
- A few enanchments in C code, mainly cosmetic (it should be a little faster
in encoding).
- Files opened in O_RDWR mode are now handled properly.
- yenc.i interface adapted to latest SWIG releases.
- Passing a file opened in a wrong mode now raises a ValueError (rather than
an AssertionError).
- encode()/decode() now accepts filenames and stdin/stdout as arguments.
- Reaching EOF while encoding/decoding no more raises an exception (it was
redundant since the number of encoded/decoded bytes were already returned),
this could break some implementations.
- Passing 0 to the encode o decode functions causes file to be encoded/decoded
up to EOF (this is made possible by the previous change).