Fix fail() message: save totalMaxIO value before resetting it.
clean up
fix argument name warnings, add some javadocs
Improve the situation of tests' temporary files.
javadocs