platform: do not read from non-opened file
Merge branch 'master' of github.com:rhomobile/rhodes into orm_js