Update NameUtils.fs

Fix an error in capitalizeFirstLetter in NameUtil.fs.  The current implementation breaks If s is an empty or null string - see issue 746.