readorwrite.py: serializing the read portion

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