Changes to DataReader/Writer

DataWriter is now AutoClosesable. Added some nicer javadoc comments to
DataReader.