Re-enable file-like objects in 'rw' tests

The right open mode is 'r+w' instead of 'a+w'