diffpack 2d export fix

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>