Safe-abort binary encoder.
Merge branch 'master' into bigfile
Fixed reposition ignored issue.