Also converts other DataDevice-handling code to use Read/WritePipe instead of the FileDescriptor API.