[#5012] avoid mongo BSON encoding error, by ensuring attachment filenames are unicode
2 files changed