tweaking CImageIO to use variable save class
fix several float/float_tt issues.  Add rough framework for different file output modes.