Fix encoding problem in filename of messages - IssueID #420