Alter the storage of messages so that illegal characters are stored as '.'