Client: TubeFile -> TextTube
Client: Use int as type for fd, converting to uintptr where needed