make compatible with iteratee-0.9

remove references to NullPoint/Nullable, convert the IO functions to use
new-style code and fillFromCallback, and change some Offset-handling functions.

Are the new versions correct?  They're a lot shorter than the original...