Fix sample code in dart:io article

R=kathyw@google.com
BUG=http://dartbug.com/13713

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