changing write to take file appends as a data key

the write method data parameter now takes `_append: Array` as an
optional parameter, appending the files as streams to the main file (in
order)