try to use proper extension and content type for export
Merge pull request #1648 from marcel-blonk/PLFM-3142

try to use proper extension and content type for export