Fix coding-style and use the "String"-class.

Refs #6118