Changed interface of mc_stat() and mc_lstat() functions