Fixing Thunderbird's LDIF export with Python [1]