[export checker] Improved the error message format from the export checker. Closed Ticket #236. Added a test.