add a more complex io.pickler test and allow the dumping of pickles in directories