Improve performance of LDAPEntry.save according to f1ori's suggestions