We don't need to use the API anymore - my understanding is it's being phased out.

You can cast a FileEntry to a ChromeFileEntry, and call `Future writeText(String text)`.