Update README.md

Update the example code for open() to show the 'error' parameter that is passed.