revert to npapi-file-io