Simplifying resharding_bytes.py.