Ensure model params are saved to H5