disklib: updates to params/read/write functions