Fix some bugs with new lines in property files.