smurf: Fixes to unimap export script