Fixed bugs where the name keyword argument was not updated to path in savemat and loadmat.