fixed save/load to file when message contains '/n' character