updates to raidlib and raid test, attempting to fix write problems