Use local export_type variable for export cookie name

Fix #175

Signed-off-by: Byron Ruth <b@devel.io>