bugfix in StringUtil::padWithSpaces

wasn't properly handling the case where the string
was greater than the desired field width