silence coverity#705667 Resource leak

still leaks on usual success case of course

Change-Id: Ia6e0f61b5a08271c03690bbb1c0af59081bea663
add link to mkstemp coverity warning wrt threading fiasco

Change-Id: Ic8fea32a163ca5e85ac3e2a34d04e4fa1a1943f9
document coverity#735433 Logically dead code

Change-Id: I4a6917c78b527245ff1ae78c180aaf3a4a198045
no point checking for null before delete

Change-Id: I58cbb075a56518d71874137180ad92ae764ec4bf
coverity#1078451 Unchecked return value

Change-Id: I286df7dc70e7f8e6e911f02d2e8aa6ebb390ef61
Resolves: fdo#87248 assume 0 chse means use encoding that matches lid

Change-Id: I813cc6bdc92b03bdfdd5202a85e958020a9c52c8