Use io.ReadWriteSeeker

Relevant to #5