* obs getBuildlog(): return plain binary data instead of utf8 decoded string
* types: avoid encoding content during read() which can change the content size
* types: actually import sys to avoid error during error handling
* unicode handling: only use `unicode` on Python2
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse-oscfs?expand=0&rev=6
- fix read() with offset especially with large files. This fixes use of
various tools when applied on oscfs files e.g. `rpm2cpio` or
`tail *.spec` previously failed or behaved strangely.
- be robust against non-ASCII characters in OBS buildlogs.
- apply caching also to actual file content to be more efficient when e.g.
operating on larger files.
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse-oscfs?expand=0&rev=4