OutputString should include null terminator

The allocation of OutputString in vtkDataWriter needs to be
size()+1 to leave room for the null terminator.

Change-Id: I96af49cc7307f1e0cefd2edc3be8617edfc3a8e3
Merge topic 'fix-datawriter-memory-corruption' into master

f3f02141 OutputString should include null terminator
ENH: Eliminate CMP0020 warning.

Eliminate a warning when building in Windows that relates
  to static linking of Qt executables to qtmain.lib.
This policy was introduced in CMake version 2.8.11.
CMake version 2.8.11.2 warns when the policy is not set
  and uses OLD behavior.

This change sets the behaviour to NEW as all the Qt
  executables in VTK link to qtmain.lib.

Change-Id: Ie37e447fda1af40c836da56e6c3f5d5c6ce2b4a1
Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>
Merge topic 'fix_CMP0020_warning' into master

96bc743f ENH: Eliminate CMP0020 warning.
Remove unnecessary calls to ostr->str().size()

Change-Id: I7fe76d5ca0b9b734a9d588c0af8451fa96648265
Merge topic 'datawriter-remove-unnecessary-calls' into master

758fcdbc Remove unnecessary calls to ostr->str().size()