[Issue 10150] liblber/etest.c calls open with O_CREAT without specifying file mode