Fix issue with open(:rw :w :r)