Where is the source to mkstemps? The one in basis-library/mlton/io.fun seems to use only the O_WRONLY flag instead of also including the O_CREAT and O_EXCL.