Minor changes (mostly refactoring, and adding safe r/w variants) to the concurrent cilk I/O library