[3.8] Fix #1672 Fix uninitialized variable in XsendFileMapiingGenerator