[commhistory-daemon] Allow . and - characters in message part filenames

This preserves extensions for message part files.