Saves the stream to the file fileName.
stream
fileName
Future<void> saveStream(final String fileName, final Stream<List<int>> stream);