Add and correct file manipulation stuff.

    Added pipe(), dup(), and dup2(). Fixed flags for Oexcl, Oappend.