added error handing when saving file
added error handing when saving file

jmartin82/mmock,jmartin82/mmock,alfonsfoubert/mmock,vtrifonov/mmock,alfonsfoubert/mmock,jmartin82/mmock,alfonsfoubert/mmock,vtrifonov/mmock,vtrifonov/mmock,jmartin82/mmock