Contacts directory cleared before writing.