Use new_resource.principals or get exception
Use base File class, not Chef's class