putils: fixing export file problems