Use Task::read*() helpers and remove old ones.

This removes the last of the ipc.{h,cc} code.