Split a file into chunks of a given chunk size, returning a list of file names.
write_chunks(file, chunk_size)
file
name of the file
chunk_size
size of the chunk in bytes.