[[ Bug 12290 ]] saving 2.7 file format stack causes crash
Merge pull request #694 from runrevsebastien/bugfix-12290

[[ Bug 12290 ]] saving 2.7 file format stack causes crash