Add save/load for DNN, fix RBM save/load.