test for size mismatch errors with IO.copy_stream