try to use proper extension and content type for export

unit test?