BUG: StataWriter uses incorrect string length

Fixes bug where StataWriter always writes strings with
a size of 244.

closes #8969