Fix missing parameter in writeNDEF.