adjusted assemble to use new file attribute handling

It appears that assemble was using older methods (daisychain in exit_json) for handling file attributes. I borrowed the new method from the copy module so that assemble correctly handles file attributes.