Write chunk data to files_to_blocks