Add support for writable files and a rudimentary file chooser on iOS