write correct atoms based on tag and not format, fixes subs stream copy