s_expressions-file_writers: add primitive to open or create when needed