fix to reading and writing files; due to dart:js changes
Merge pull request #83 from dart-gde/files-fix

fix to reading and writing files; due to dart:js changes