fix function chownDirectory slapformat