Fix missing import os in latex exporter.
Merge pull request #3554 from damianavila/fix_os_import

Fix missing import os in latex exporter.