Update FileSave.m

Bug fixes