Fix handling of multiline ini files

Based on TortoiseSVN revision #25892.

Signed-off-by: Sven Strickroth <email@cs-ware.de>