iniparser: remove ; as a comment to fix compatibility with glib keyfile
iniparser: remove space gaps when writing key/value
iniparser: append new lines only as keyfile does