add write to the list of fdisk commands