Saves a file from data bytes.
file
data
Future<File> saveFileBytes(File file, Uint8List data) async { return file.writeAsBytes(data, flush: true); }