readwrite.py: yet more debugging

Signed-off-by: Joe Buck <jbbuck@gmail.com>