slapconfiguration.jsondump: added O_TRUNC to fix rewrites with a shorter file