Write remote heads.