used stringformat instead of safe to explicitly set to integer
Merge pull request #948 from modilabs/944_export_progress_exception

used stringformat instead of safe to explicitly set to integer