Improve motorFrictionIdentification

When the "save" rpc command is received save also the current state of
identification on text file, so that the identification can be resumed
at a later time (to be tested yet).