async fn write_file_data( path: &str, data: &[u8], start: bool, finished: bool, database: &AnyDatabase<CliBackend>) -> Result<Option<Bytes>>