BUG: Fixed incorrect string length calculation when writing strings in Stata


Strings were incorrectly written using 244 character irrespective of the actual
length of the underlying due to changes in pandas where the underlying NumPy
datatype of strings is always np.object_, and never np.string_. Closes #7858
I would add a very similar note or warning to the io.rst / stata section as well