fix dump for py26