file write: Ignore unlink error, if file does not exist

Signed-off-by: Michael Buesch <m@bues.ch>