Future<bool> writeFile(String path, Uint8List bytes) async => throw UnsupportedError('File access is only supported by dart:io');