Script Function :WRITE_PROCESS with parameter APPEND fails if file does not exist