Fix awk integer overflow in tobinary.py