Bailey kicks Cowboys past Giants