add fopencookie

See https://issues.dlang.org/show_bug.cgi?id=13755
You need to make them static or __gshared.