Fix wrong commit 068c4a1

The fix in simple_read_write was wrong. This should be correct now.