lposix.c: make file & creation flags public; pass flags to open as an integer mask, not a table.
lposix.c: make file & creation flags public; pass flags to open as an integer mask, not a table.

luaposix/luaposix,zevv/luaposix,ardje/luaposix,jimmyharris/luaposix,ardje/luaposix,zevv/luaposix,snegovick/luaposix,rrthomas/luaposix,rrthomas/luaposix,snegovick/luaposix,jimmyharris/luaposix