Fix typo in write API safe/w exception message
Expect safe/w exception message and write options in PHP-522 2.6 test