Changed composition in IOPlugin to only insert newlines where necessary

Change-Id: Id79db08731fda72055bef79029efa271419d6ddb
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>