s3: Use sys_write in fork_domain_child