Added fcntl support, specifically the NIO flag.