[wip] switch to the CPython posix module even though it doesn't compile
Have to define a bunch of these