Truncate existing vcf file when exporting contacts When exporting contacts to an existing vCard file, the file is not truncated if the new export is smaller than the old one. This leaves stale contact data at the end of the file, which can be recovered by recipients. This change uses mode "wt" for opening the output stream, which ensures that the file is truncated when opened for writing. Bug: 473028791 Test: atest ContactsTests:com.android.contacts.vcard.ExportProcessorTest Flag: EXEMPT BUGFIX Note: This was autogenerated by MendIt (go/androidmendit) Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:ba09ce483c89fcab71f7ab01d582486747b05ce1 Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:7c56bb91de4b0b273c3d4f54224bff4ef10b30f1 Merged-In: Iab4f76a190b7e3d7db544aff4e3b0aca63cdb16f Change-Id: Iab4f76a190b7e3d7db544aff4e3b0aca63cdb16f