fix broken tests (and any corresponding text) for readAsString|Lines() and openSync()

Review URL: https://chromiumcodereview.appspot.com/12796014