Added tests for large files (16MB archive log).
Fixed a sync error in binary_xfer().