add fopencookie

See https://issues.dlang.org/show_bug.cgi?id=13755
No, just be careful that `const char *` in C means `const(char)*` in D.