Fix fopen() call
[mms] Add smiley data to message when added via the HTML editor (Request #13051).