added fprint of cv->D to LoadMode and WriteMode