Refactor: new PMA_closeExportFile()

Signed-off-by: Marc Delisle <marc@infomarc.info>
Refactor: new PMA_compressExport()

Signed-off-by: Marc Delisle <marc@infomarc.info>