Fixing PEP8 violation in export.py