Fixing bug in DataFile#write. Nulling out position in fs.write.